import http from 'utils/http';

export const getOss = (data: any) => http({
        url: '/api/imageZipUpload/getUploadUrl',
        method: 'post',
        data,
});

export const getFileAddress = (data:any) => http({
    url: '/api/imageZipUpload/getUnZipUrl',
    method: 'post',
    data,
})

export const saveSuccessFileName = (data:any) => http({
    url: '/api/imageZipUpload/uploadSuccess',
    method: 'post',
    data,
})

export const uploadSingleFile = (data: any) => http({
    url: '/api/imageZipUpload/getDirectUploadUrl',
    method: 'post',
    data
})

export const importImages = (data:any) => http({
    url: '/api/imageManager/import',
    method: 'post',
    data
})

